JAMS Developer Guide
RestoreData<T>(Int32,Guid) Method


MVPSI.JAMS Namespace > Entry Class > RestoreData Method : RestoreData<T>(Int32,Guid) Method
The entry number for which to load a stored object.
A guid that identifies the object to restore.
Restores a serialized object from the database.
Syntax
'Declaration
 
Public Overloads Shared Function RestoreData(Of T)( _
   ByVal jamsEntry As System.Integer, _
   ByVal objectId As System.Guid _
) As T
'Usage
 
Dim jamsEntry As System.Integer
Dim objectId As System.Guid
Dim value As T
 
value = Entry.RestoreData(Of T)(jamsEntry, objectId)
public static T RestoreData<T>( 
   System.int jamsEntry,
   System.Guid objectId
)

Parameters

jamsEntry
The entry number for which to load a stored object.
objectId
A guid that identifies the object to restore.

Type Parameters

T

Return Value

The restored object.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Entry Class
Entry Members
Overload List